nextcloud-desktop.git
10 months agochore(migration): remove duplicated code when copying legacy config to new path.
Camila Ayres [Mon, 17 Mar 2025 16:22:52 +0000 (17:22 +0100)]
chore(migration): remove duplicated code when copying legacy config to new path.

Signed-off-by: Camila Ayres <hello@camilasan.com>
10 months agoMerge pull request #8166 from nextcloud/backport/8160/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 14:49:51 +0000 (16:49 +0200)]
Merge pull request #8166 from nextcloud/backport/8160/stable-3.16

[stable-3.16] fix(msi): allow custom installation directory

10 months agofix(msi): allow custom installation directory
Jyrki Gadinger [Tue, 15 Apr 2025 09:47:49 +0000 (11:47 +0200)]
fix(msi): allow custom installation directory

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoMerge pull request #8162 from nextcloud/backport/8156/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 12:59:41 +0000 (14:59 +0200)]
Merge pull request #8162 from nextcloud/backport/8156/stable-3.16

[stable-3.16] fix(theme): correct dark/light mode check on Win10

10 months agofix(theme): correct dark/light mode check on Win10
Jyrki Gadinger [Tue, 15 Apr 2025 08:13:14 +0000 (10:13 +0200)]
fix(theme): correct dark/light mode check on Win10

`Utility::registryGetKeyValue` returns an invalid QVariant should the
key not exist -- which is the case if that switch has never been toggled
before.

--> Fix this by ensuring the QVariant is valid, and only then try to
convert it to a bool.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoMerge pull request #8159 from nextcloud/backport/5543/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 12:26:43 +0000 (14:26 +0200)]
Merge pull request #8159 from nextcloud/backport/5543/stable-3.16

[stable-3.16] Use AccountPtr in Account signals instead of raw pointer

10 months agofix(gui): Use AccountPtr in setup wizard
Claudio Cambra [Tue, 15 Apr 2025 08:07:29 +0000 (16:07 +0800)]
fix(gui): Use AccountPtr in setup wizard

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoFix use of saveAccount in networksettings
Claudio Cambra [Thu, 17 Oct 2024 03:32:35 +0000 (11:32 +0800)]
Fix use of saveAccount in networksettings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoUse AccountPtr in testpushnotifications
Claudio Cambra [Thu, 23 Mar 2023 16:47:41 +0000 (17:47 +0100)]
Use AccountPtr in testpushnotifications

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoUse AccountPtr in serverVersionChanged signal instead of raw pointer
Claudio Cambra [Wed, 22 Mar 2023 14:27:17 +0000 (15:27 +0100)]
Use AccountPtr in serverVersionChanged signal instead of raw pointer

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoReplace use of raw pointer in wantsAccountSaved signal with AccountPtr
Claudio Cambra [Wed, 22 Mar 2023 14:26:18 +0000 (15:26 +0100)]
Replace use of raw pointer in wantsAccountSaved signal with AccountPtr

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoEmit AccountPtr from pushNotificationsDisabled in Account rather than raw pointer
Claudio Cambra [Wed, 22 Mar 2023 13:53:06 +0000 (14:53 +0100)]
Emit AccountPtr from pushNotificationsDisabled in Account rather than raw pointer

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoUse AccountPtr in pushNotificationsReady signal in Account rather than raw pointer
Claudio Cambra [Wed, 22 Mar 2023 13:50:48 +0000 (14:50 +0100)]
Use AccountPtr in pushNotificationsReady signal in Account rather than raw pointer

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoMerge pull request #8158 from nextcloud/backport/5288/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 12:12:55 +0000 (14:12 +0200)]
Merge pull request #8158 from nextcloud/backport/5288/stable-3.16

[stable-3.16] Exclude NavigationPaneHelper from non-Windows compile

10 months agoOnly build NavigationPaneHelper on Windows
Claudio Cambra [Mon, 19 Dec 2022 16:05:13 +0000 (17:05 +0100)]
Only build NavigationPaneHelper on Windows

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoIfdef all mentions of navigationpanehelper out of non-Windows builds
Claudio Cambra [Mon, 19 Dec 2022 14:54:55 +0000 (15:54 +0100)]
Ifdef all mentions of navigationpanehelper out of non-Windows builds

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoMerge pull request #8163 from nextcloud/backport/8038/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 11:59:05 +0000 (13:59 +0200)]
Merge pull request #8163 from nextcloud/backport/8038/stable-3.16

[stable-3.16] skip single test or whole test file for macOS: they are broken

10 months agoskip single test or whole test file for macOS: they are broken
Matthieu Gallien [Tue, 18 Mar 2025 08:35:13 +0000 (09:35 +0100)]
skip single test or whole test file for macOS: they are broken

would need careful analyze to fix those

until we can get them fixed, better make the other tests be required in
the CI

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8157 from nextcloud/backport/8111/stable-3.16
Jyrki Gadinger [Tue, 15 Apr 2025 11:44:05 +0000 (13:44 +0200)]
Merge pull request #8157 from nextcloud/backport/8111/stable-3.16

[stable-3.16] fix(PinState): don't trigger sync when file's PinState changed to Unspecified.

10 months agotest(cfapi): check for spurious attribute changes.
Camila Ayres [Tue, 8 Apr 2025 13:35:55 +0000 (15:35 +0200)]
test(cfapi): check for spurious attribute changes.

Signed-off-by: Camila Ayres <hello@camilasan.com>
10 months agofix(PinState): don't trigger sync when file's PinState changed to Unspecified.
Camila Ayres [Thu, 3 Apr 2025 17:10:15 +0000 (19:10 +0200)]
fix(PinState): don't trigger sync when file's PinState changed to Unspecified.

LibreOffice/Microsoft office might touch the files for unknown reasons,
creating a constant sync state (icon) visible in the parent folder.

This fix excludes PinState changes from a new sync if the trigger
might have been an external application.

Signed-off-by: Camila Ayres <hello@camilasan.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 15 Apr 2025 03:07:07 +0000 (03:07 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8153 from nextcloud/backport/8145/stable-3.16
Matthieu Gallien [Mon, 14 Apr 2025 16:59:59 +0000 (18:59 +0200)]
Merge pull request #8153 from nextcloud/backport/8145/stable-3.16

[stable-3.16] simplify deletions of invalid read-only items: do not interrupt sync

10 months agofix: do not interrupt sync when cleaning invalid read-only items
Matthieu Gallien [Fri, 11 Apr 2025 09:33:45 +0000 (11:33 +0200)]
fix: do not interrupt sync when cleaning invalid read-only items

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 14 Apr 2025 03:03:14 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 13 Apr 2025 03:03:54 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 12 Apr 2025 03:05:50 +0000 (03:05 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 11 Apr 2025 03:04:51 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8141 from nextcloud/backport/8140/stable-3.16
Matthieu Gallien [Thu, 10 Apr 2025 15:13:54 +0000 (17:13 +0200)]
Merge pull request #8141 from nextcloud/backport/8140/stable-3.16

[stable-3.16] disable use of bulk upload for small files

10 months agodisable use of bulk upload for small files
Matthieu Gallien [Thu, 10 Apr 2025 12:35:11 +0000 (14:35 +0200)]
disable use of bulk upload for small files

this feature causes many issues with impact on users so we prefer to
disable it again

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8139 from nextcloud/backport/8048/stable-3.16
Matthieu Gallien [Thu, 10 Apr 2025 13:09:50 +0000 (15:09 +0200)]
Merge pull request #8139 from nextcloud/backport/8048/stable-3.16

[stable-3.16] Bugfix/slow bulk upload

10 months agosimple way to add more logs related to upload progress
Matthieu Gallien [Fri, 4 Apr 2025 15:53:45 +0000 (17:53 +0200)]
simple way to add more logs related to upload progress

will be important to try to see upload performance bottlenecks

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoclean up some no longer needed logs
Matthieu Gallien [Thu, 27 Mar 2025 15:40:07 +0000 (16:40 +0100)]
clean up some no longer needed logs

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agobetter logs to track sending of data during bulk upload
Matthieu Gallien [Thu, 27 Mar 2025 14:43:41 +0000 (15:43 +0100)]
better logs to track sending of data during bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoclean code and logs during bulk upload
Matthieu Gallien [Thu, 27 Mar 2025 14:33:00 +0000 (15:33 +0100)]
clean code and logs during bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agono need to disable buffering from Qt in POST requests
Matthieu Gallien [Thu, 27 Mar 2025 14:25:49 +0000 (15:25 +0100)]
no need to disable buffering from Qt in POST requests

data of the files are ready in a memory buffer so Qt will not buffer
them anyway

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agouse maximum chunk size to decide the size of a bulk upload request
Matthieu Gallien [Wed, 26 Mar 2025 15:06:53 +0000 (16:06 +0100)]
use maximum chunk size to decide the size of a bulk upload request

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoremove useless log
Matthieu Gallien [Mon, 24 Mar 2025 15:00:58 +0000 (16:00 +0100)]
remove useless log

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agodefine content length header with bulk upload requests
Matthieu Gallien [Wed, 19 Mar 2025 16:44:51 +0000 (17:44 +0100)]
define content length header with bulk upload requests

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agouse memory to buffer the data of the files sent during bulk upload
Matthieu Gallien [Wed, 19 Mar 2025 10:08:09 +0000 (11:08 +0100)]
use memory to buffer the data of the files sent during bulk upload

should help make it faster to send all data

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agodisable buffering when POSTing for bulk upload
Matthieu Gallien [Wed, 19 Mar 2025 10:07:42 +0000 (11:07 +0100)]
disable buffering when POSTing for bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoAdd test for syncing with bulk upload when there are errors.
Camila Ayres [Wed, 24 Jan 2024 20:02:19 +0000 (21:02 +0100)]
Add test for syncing with bulk upload when there are errors.

Signed-off-by: Camila Ayres <hello@camilasan.com>
10 months agoChange bulk upload batch size when there is a sync error.
Camila [Tue, 22 Aug 2023 17:25:41 +0000 (19:25 +0200)]
Change bulk upload batch size when there is a sync error.

- Cancel sync after try with smaller bulk upload batch size also throws error.
- Continue syncing when there is no error.
- Remove file from bulk upload black list only when upload succeeded.

Signed-off-by: Camila <hello@camila.codes>
10 months agoMerge pull request #8137 from nextcloud/backport/8094/stable-3.16
Matthieu Gallien [Thu, 10 Apr 2025 12:37:34 +0000 (14:37 +0200)]
Merge pull request #8137 from nextcloud/backport/8094/stable-3.16

[stable-3.16] Bugfix/use newer bulk upload checksum header

10 months agoonly send the md5 custom checksum header when server expects it
Matthieu Gallien [Mon, 31 Mar 2025 09:59:37 +0000 (11:59 +0200)]
only send the md5 custom checksum header when server expects it

server before 32.0.0 release expects a custom header with an MD5
checksum during bulk upload

the header name is: X-File-MD5

see https://github.com/nextcloud/server/pull/51729

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agowith release 32.0.0 md5 custom checksum is removed from bulkupload
Matthieu Gallien [Mon, 31 Mar 2025 13:07:36 +0000 (15:07 +0200)]
with release 32.0.0 md5 custom checksum is removed from bulkupload

makes our fake server require an md5 custom checksum for bulk upload
until version 32.0.0

starting with 32.0.0 this custom checksum must be empty

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agofix format of checksum header that was missing checksum type
Matthieu Gallien [Mon, 31 Mar 2025 10:31:27 +0000 (12:31 +0200)]
fix format of checksum header that was missing checksum type

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agosending header X-File-MD5 that is currently mandatory
Matthieu Gallien [Mon, 24 Mar 2025 14:59:07 +0000 (15:59 +0100)]
sending header X-File-MD5 that is currently mandatory

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoautomated tests of bulk upload needs to check checksums like real
Matthieu Gallien [Mon, 31 Mar 2025 11:03:58 +0000 (13:03 +0200)]
automated tests of bulk upload needs to check checksums like real

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 10 Apr 2025 03:03:42 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8131 from nextcloud/backport/8095/stable-3.16
Jyrki Gadinger [Wed, 9 Apr 2025 07:26:55 +0000 (09:26 +0200)]
Merge pull request #8131 from nextcloud/backport/8095/stable-3.16

[stable-3.16] fix: try to correct mtime on upsyncs

10 months agofix FileSystem::setModTime on x64 Windows with times > 2038
Jyrki Gadinger [Tue, 8 Apr 2025 11:09:18 +0000 (13:09 +0200)]
fix FileSystem::setModTime on x64 Windows with times > 2038

also removes some unused Utility methods

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agofix: try to correct mtime on upsyncs
Jyrki Gadinger [Mon, 31 Mar 2025 09:48:22 +0000 (11:48 +0200)]
fix: try to correct mtime on upsyncs

Files with a modification time of less than 0 do usually not make sense
(and afaik the server doesn't accept them either).
--> attempt to update the modification time to _Time.now_ while
propagating

side note: I ran into this because KArchive/Ark(?) didn't consider the
extra time attributes on entries for a certain zip file, so it instead
used the standard time value of each zip entry which was set to <= 1980
for files and < 1970 for directories...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 9 Apr 2025 03:04:50 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8130 from nextcloud/backport/8127/stable-3.16
Matthieu Gallien [Tue, 8 Apr 2025 21:24:25 +0000 (23:24 +0200)]
Merge pull request #8130 from nextcloud/backport/8127/stable-3.16

[stable-3.16] stop using QFile api to delete a single local file

10 months agostop using QFile api to delete a single local file
Matthieu Gallien [Mon, 7 Apr 2025 13:37:41 +0000 (15:37 +0200)]
stop using QFile api to delete a single local file

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8129 from nextcloud/backport/8128/stable-3.16
Matthieu Gallien [Tue, 8 Apr 2025 21:04:39 +0000 (23:04 +0200)]
Merge pull request #8129 from nextcloud/backport/8128/stable-3.16

[stable-3.16] remove bogus check that tried to check for existing case clash conflict

10 months agoremove bogus check that tried to check for existing case clash conflict
Matthieu Gallien [Tue, 8 Apr 2025 15:15:14 +0000 (17:15 +0200)]
remove bogus check that tried to check for existing case clash conflict

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 8 Apr 2025 03:04:39 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8126 from nextcloud/backport/8121/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 14:21:36 +0000 (16:21 +0200)]
Merge pull request #8126 from nextcloud/backport/8121/stable-3.16

[stable-3.16] fix: move array to correct value in dict

10 months agofix: move array to correct value in dict
Jyrki Gadinger [Mon, 7 Apr 2025 07:15:08 +0000 (09:15 +0200)]
fix: move array to correct value in dict

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoMerge pull request #8125 from nextcloud/backport/8122/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 13:34:07 +0000 (15:34 +0200)]
Merge pull request #8125 from nextcloud/backport/8122/stable-3.16

[stable-3.16] fix crash within FolderStatusModelTest

10 months agofix crash within FolderStatusModelTest
Matthieu Gallien [Mon, 31 Mar 2025 13:32:41 +0000 (15:32 +0200)]
fix crash within FolderStatusModelTest

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8123 from nextcloud/backport/8118/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 12:06:43 +0000 (14:06 +0200)]
Merge pull request #8123 from nextcloud/backport/8118/stable-3.16

[stable-3.16] remove costly availability check that is never used

10 months agoremove costly availability check that is never used
Matthieu Gallien [Fri, 4 Apr 2025 14:00:23 +0000 (16:00 +0200)]
remove costly availability check that is never used

we never read the value computed

computing it means a recursive visit of the whole folder hierarchy which
could be taking a long time

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8124 from nextcloud/backport/8120/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 11:53:15 +0000 (13:53 +0200)]
Merge pull request #8124 from nextcloud/backport/8120/stable-3.16

[stable-3.16] Bugfix/delete errors

10 months agobetter error message for user when deleting local items
Matthieu Gallien [Fri, 4 Apr 2025 14:37:47 +0000 (16:37 +0200)]
better error message for user when deleting local items

we might be displaying too technical errors that the user will have no
way to understand

for example on macOS, we might be getting:
Unknown error: 513

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agowhen deleting a folder starts by making it read-write permissions
Matthieu Gallien [Fri, 4 Apr 2025 14:37:11 +0000 (16:37 +0200)]
when deleting a folder starts by making it read-write permissions

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agowe must not use QFile::remove that may fail on windows read-only files
Matthieu Gallien [Fri, 4 Apr 2025 14:33:56 +0000 (16:33 +0200)]
we must not use QFile::remove that may fail on windows read-only files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoif we are going to need modified permissions: always change
Matthieu Gallien [Fri, 4 Apr 2025 09:09:38 +0000 (11:09 +0200)]
if we are going to need modified permissions: always change

we might need to change the permissions, so do it instead of trying to
be smart

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agodo not change permissions of invalid items on discovery
Matthieu Gallien [Fri, 4 Apr 2025 09:07:28 +0000 (11:07 +0200)]
do not change permissions of invalid items on discovery

if we are going to delete those items, we will make them have the proper
permissions when we need

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoalways make the file we try to delete be read-write as required
Matthieu Gallien [Fri, 4 Apr 2025 09:06:59 +0000 (11:06 +0200)]
always make the file we try to delete be read-write as required

on windows you must only delete read-write files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoQt 6.8 requires macSO 12 or higher: no need to compile against older
Matthieu Gallien [Fri, 4 Apr 2025 09:05:41 +0000 (11:05 +0200)]
Qt 6.8 requires macSO 12 or higher: no need to compile against older

clean up preprocessor directives for older macOS releases that are not
supported by macOS minimum required release from the Qt 6.8 release we
require

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 7 Apr 2025 03:04:19 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 6 Apr 2025 03:14:26 +0000 (03:14 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 5 Apr 2025 03:04:13 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8117 from nextcloud/backport/8107/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 15:40:03 +0000 (17:40 +0200)]
Merge pull request #8117 from nextcloud/backport/8107/stable-3.16

[stable-3.16] fix(mac-crafter): Work around broken consecutive shell integration builds

10 months agofix(mac-crafter): Work around broken consecutive shell integration builds
Claudio Cambra [Thu, 3 Apr 2025 07:39:41 +0000 (15:39 +0800)]
fix(mac-crafter): Work around broken consecutive shell integration builds

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agoMerge pull request #8116 from nextcloud/backport/8109/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 13:31:42 +0000 (15:31 +0200)]
Merge pull request #8116 from nextcloud/backport/8109/stable-3.16

[stable-3.16] fix(gui): remove ignored file notifications from Activity list

10 months agofix(gui): remove ignored file notifications from Activity list
Jyrki Gadinger [Thu, 3 Apr 2025 09:52:17 +0000 (11:52 +0200)]
fix(gui): remove ignored file notifications from Activity list

These are informative notifications without any need/possibility to act
on immediately -- if a file is not synced it will be visible from the
shell integration anyway.

An eventual follow-up to this change would be to have a dialogue with an
overview of all files that were ignored (including the entry in the
ignore list that caused a specific file to be ignored).

Closes #6712

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoMerge pull request #8115 from nextcloud/backport/8114/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 12:02:22 +0000 (14:02 +0200)]
Merge pull request #8115 from nextcloud/backport/8114/stable-3.16

[stable-3.16] fix(mac): bump deployment target to 12.0

10 months agofix(mac): bump deployment target to 12.0
Jyrki Gadinger [Fri, 4 Apr 2025 09:06:32 +0000 (11:06 +0200)]
fix(mac): bump deployment target to 12.0

Qt 6.8 now requires macOS 12.0 as per https://doc.qt.io/qt-6.8/macos.html

for comparison, Qt 6.7 supported 11.0 and newer: https://doc.qt.io/qt-6.7/macos.html

also update the Packages project to refuse to install on anything older
than Monterey (12.0)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 4 Apr 2025 03:03:36 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 3 Apr 2025 03:02:53 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 2 Apr 2025 03:03:16 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 31 Mar 2025 03:06:33 +0000 (03:06 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 30 Mar 2025 03:03:35 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 29 Mar 2025 03:04:25 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 28 Mar 2025 03:04:28 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8089 from nextcloud/backport/8080/stable-3.16
Jyrki Gadinger [Thu, 27 Mar 2025 14:29:43 +0000 (15:29 +0100)]
Merge pull request #8089 from nextcloud/backport/8080/stable-3.16

[stable-3.16] gui/macOS: Fix memory issues in Objective-C++ code for FileProvider support

10 months agogui/macOS: Properly retain/release NSFileProviderManager(s)
Claudio Cambra [Thu, 27 Mar 2025 12:07:37 +0000 (13:07 +0100)]
gui/macOS: Properly retain/release NSFileProviderManager(s)

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Avoid need to retain/release things in file provider edit locally
Claudio Cambra [Thu, 27 Mar 2025 10:45:13 +0000 (11:45 +0100)]
gui/macOS: Avoid need to retain/release things in file provider edit locally

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Avoid crash from bad manager release
Claudio Cambra [Wed, 26 Mar 2025 16:53:42 +0000 (17:53 +0100)]
gui/macOS: Avoid crash from bad manager release

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Avoid retain call on extensionNcAccount by allocing new string
Claudio Cambra [Wed, 26 Mar 2025 12:44:28 +0000 (13:44 +0100)]
gui/macOS: Avoid retain call on extensionNcAccount by allocing new string

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Improve overall memory management in XPCUtils::getDomainManagers
Claudio Cambra [Wed, 26 Mar 2025 12:44:03 +0000 (13:44 +0100)]
gui/macOS: Improve overall memory management in XPCUtils::getDomainManagers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Do not leak debug log string after use
Claudio Cambra [Wed, 26 Mar 2025 12:35:41 +0000 (13:35 +0100)]
gui/macOS: Do not leak debug log string after use

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Use explicit type in connections array arg
Claudio Cambra [Wed, 26 Mar 2025 12:34:59 +0000 (13:34 +0100)]
gui/macOS: Use explicit type in connections array arg

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Correctly release objects received via FileProviderUtils functions
Claudio Cambra [Wed, 26 Mar 2025 12:31:00 +0000 (13:31 +0100)]
gui/macOS: Correctly release objects received via FileProviderUtils functions

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Properly wait for eviction result in materialised items model
Claudio Cambra [Wed, 26 Mar 2025 12:28:37 +0000 (13:28 +0100)]
gui/macOS: Properly wait for eviction result in materialised items model

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
10 months agogui/macOS: Do not leak local url and error objects in edit locally job
Claudio Cambra [Wed, 26 Mar 2025 12:26:38 +0000 (13:26 +0100)]
gui/macOS: Do not leak local url and error objects in edit locally job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>